import * as types from './mutation_types'
export default{
		changeCity(state,city){
		   state.city = city
		   try {
            localStorage.city = city
		  }catch(e){

		  }
		},
		changeFruit(state,city){
		  state.city = city
		},
		[types.CHANGE_PRICE](state,fruit){
			state.price = fruit.price++
		}
	
}